package com.boesch.electroOffice.presentation.invoice;

import java.io.Serializable;

import com.boesch.electroOffice.model.enums.SubfunctionIdentifier;

public class InvoiceSubfunctionUtils implements Serializable {

	private static final long serialVersionUID = -4958610347762523422L;

	private static String[] mainLinkKeys = new String[] {
		SubfunctionIdentifier.OPEN_INVOICES.getValue(), 
		SubfunctionIdentifier.DUE_INVOICES.getValue(), 
		SubfunctionIdentifier.PAYED_INVOICES.getValue(),
		SubfunctionIdentifier.INVOICE_ARCHIVE.getValue()
	};
	
	private static String[] reportLinkKeys = new String[] {
		SubfunctionIdentifier.INVOICE_ABRIDGEMENT_REPORT.getValue(), 
		SubfunctionIdentifier.OPEN_INVOICES_REPORT.getValue(), 
		SubfunctionIdentifier.PAYED_INVOICES_REPORT.getValue()
	};
	
	public static String[] getMainLinkKeys() {
		return mainLinkKeys;
	}
	
	public static String[] getReportLinkKeys() {
		return reportLinkKeys;
	}
	
	public static String[][] getSubfunctionArrays() {
		String[][] subfunctionArrays = {mainLinkKeys, reportLinkKeys};
		return subfunctionArrays;
	}
}
